<?php 
	class ViewModel{
		public function assing($var,$value){
		$this->data[$var] = $value;
	}

	//显示试图
	public function display(){
		$data = $this->data;
		include(this->view);
	}
	}
	
 ?>